package com.farm.area.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @Description  
 * @Author  meitonglin
 * @Date 2020-10-15 
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table ( name ="t_cust_farmland_crops" )
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class TCustFarmlandCrops  implements Serializable {

	private static final long serialVersionUID =  708746868194007650L;

	/**
	 * 大田ID
	 */
   	@Column(name = "farmland_id" )
	private Integer farmlandId;

	/**
	 * 作物ID
	 */
   	@Column(name = "crops_id" )
	private Integer cropsId;

	/**
	 * 开始时间
	 */
   	@Column(name = "start_time" )
	private Date startTime;

	/**
	 * 结束时间
	 */
   	@Column(name = "end_time" )
	private Date endTime;

	/**
	 * 生长阶段
	 */
   	@Column(name = "grow_stage" )
	private Integer growStage;

}
